Sabberworm\CSS\ParserTest C

Total Complexity 104
Dependencies 12
Dependents 0
Total lines 702
Lines of code 561
Logical lines of code 359
Comment lines 77
Methods 47
Properties 0

Methods 47

Method Rating Maintainability Complexity Lines of code
testUnicodeParsing()
A
44 14 46
testLineNumbersParsing()
A
45 7 40
testFunctionSyntax()
A
52 8 23
testSpecificity()
A
47 7 35
testFiles()
S
52 7 23
testColorParsing()
S
46 6 37
testManipulation()
S
46 5 51
testSlashedValues()
S
49 6 30
testListValueRemoval()
S
53 5 25
testCommentExtracting()
S
53 1 24
testRuleGetters()
S
56 1 18
testUnexpectedTokenExceptionLineNo()
S
65 2 9
testMissingPropertyValueLenient()
S
60 1 13
testSelectorRemoval()
S
61 1 13
testCharsetFailure1()
S
79 1 3
testUnopenedClosingBracketFailure()
S
79 1 3
testCharsetFailure2()
S
79 1 3
testTrailingWhitespace()
S
72 1 5
testMissingPropertyValueStrict()
S
79 1 3
testIeHacksStrictParsing()
S
80 1 3
parsedStructureForFile()
S
71 1 5
testCharsetLenient1()
S
72 1 5
testIeHacksParsing()
S
72 1 5
testFlatCommentExtracting()
S
64 1 9
testTopLevelCommentExtracting()
S
66 1 8
testMicrosoftFilterStrictParsing()
S
79 1 3
testCharsetLenient2()
S
72 1 5
testUnmatchedBracesInFile()
S
72 1 5
testEmptyFileMbOff()
S
72 1 5
testUrlInFile()
S
70 1 6
testUnicodeRangeParsing()
S
73 1 5
testExpandShorthands()
S
67 1 8
testCreateShorthands()
S
67 1 8
testNamespaces()
S
66 1 10
testInnerColors()
S
73 1 5
testPrefixedGradient()
S
73 1 5
testComments()
S
70 1 7
testHexAlphaInFile()
S
70 1 6
testEmptyFile()
S
72 1 5
testCalcInFile()
S
69 1 7
testCalcNestedInFile()
S
72 1 5
testGridLineNameInFile()
S
72 1 5
testEmptyGridLineNameLenientInFile()
S
73 1 5
testLineNameFailure()
S
79 1 3
testCalcFailure()
S
79 1 3
testUrlInFileMbOff()
S
70 1 6
testMicrosoftFilterParsing()
S
73 1 5